package entity;

public class Content {

    int id;
    String title;
    String body;
    int brandId;
    int userId;
    String userName;
    String putTime;

    public Content() {
    }

    public Content(int id, String title, String body, int brandId, int userId, String putTime) {
        this.id = id;
        this.title = title;
        this.body = body;
        this.brandId = brandId;
        this.userId = userId;
        this.putTime = putTime;
    }

    public Content(int id, String title, String body, int brandId, int userId, String userName, String putTime) {
        this.id = id;
        this.title = title;
        this.body = body;
        this.brandId = brandId;
        this.userId = userId;
        this.userName = userName;
        this.putTime = putTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public int getBrandId() {
        return brandId;
    }

    public void setBrandId(int brandId) {
        this.brandId = brandId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getPutTime() {
        return putTime;
    }

    public void setPutTime(String putTime) {
        this.putTime = putTime;
    }

}
